package com.masasdani.paypal.domain;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 商品对象 iot_goods
 * 
 * @author wjduan
 * @date 2024-09-02
 */
public class Goods
{
    private static final long serialVersionUID = 1L;

    /** 商品Id */
    private Long goodsId;

    /** 商品名称 */
    private String goodsName;

    /** 商品内容 */
    private String goodsContent;

    /** sku编码 */
    private String skuCode;

    /** 1上架 0下架 */
    private Integer status;

    /** 有效时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date validTime;

    /** 价格 */
    private BigDecimal price;

    /** 币种 */
    private String currency;

    /** 币种 */
    private Integer increaseMonth;

    public void setGoodsId(Long goodsId) 
    {
        this.goodsId = goodsId;
    }

    public Long getGoodsId() 
    {
        return goodsId;
    }
    public void setGoodsName(String goodsName) 
    {
        this.goodsName = goodsName;
    }

    public String getGoodsName() 
    {
        return goodsName;
    }
    public void setGoodsContent(String goodsContent) 
    {
        this.goodsContent = goodsContent;
    }

    public String getGoodsContent() 
    {
        return goodsContent;
    }
    public void setSkuCode(String skuCode) 
    {
        this.skuCode = skuCode;
    }

    public String getSkuCode() 
    {
        return skuCode;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setValidTime(Date validTime) 
    {
        this.validTime = validTime;
    }

    public Date getValidTime() 
    {
        return validTime;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }
    public void setCurrency(String currency) 
    {
        this.currency = currency;
    }

    public String getCurrency() 
    {
        return currency;
    }

    public Integer getIncreaseMonth() {
        return increaseMonth;
    }

    public void setIncreaseMonth(Integer increaseMonth) {
        this.increaseMonth = increaseMonth;
    }

}
